#for循环
# for i in range(1,10+1,2):
#     print(i , end="\t")
#from random import randint

#打印100以内被3整除
# for i in range(1,100+1):
#     if i%3 == 0 :
#         print(i,end="\t")
# for i in range(3,100+1,3):
#     print(i ,end="\t")

#随机数
#猜数字1
# num = randint(1,100)
# while True:
#     guess = int(input("请输入一个数字:"))
#     if guess > num :
#         print("太大了")
#     elif guess < num:
#         print(("太小了"))
#     else :
#         print("猜对了")
#         break

#猜数字2
# for i in range(1,100+1):
#     # if i % 7 == 0 or srt(i).find('7') != -1:
#     # if i % 7 == 0 or str(i).count('7') >0:
#       if i % 7 == 0 or  '7' in str(i) !=-1:
#            print(i,end="\t")

#菱形
# for i in range(1,11+1,2):
#     print(("*"*i).center(11))
# for i in range(9,0,-2):
#     print(("*"*i).center(11))